/*
 * Created by LiuYou on 2020/12/14.
 *
 */

#ifndef EFFECTIVE_CPP_2_NVIDIAGRAPHICSCARD_HPP
#define EFFECTIVE_CPP_2_NVIDIAGRAPHICSCARD_HPP

#include <xstring>
#include <ostream>
#include "GraphicsCard.hpp"

namespace GraphicsCard {


    class NvidiaGraphicsCard : public GraphicsCard {
    public:
        NvidiaGraphicsCard(int id, int lifetime, std::string info);

        ~NvidiaGraphicsCard() override;

        int getId() const;

        int getLifetime() const;

        const std::string& getInfo() const;

        void show() override;

    private:
        int id;
        int lifetime;
        std::string info;

    };

}


#endif //EFFECTIVE_CPP_2_NVIDIAGRAPHICSCARD_HPP
